package ru.ncedu.java.dmsi.robots.strategies.impl;

import ru.ncedu.java.dmsi.robots.actions.Action;
import ru.ncedu.java.dmsi.robots.actions.impl.MakeShotAction;
import ru.ncedu.java.dmsi.robots.model.ActionContext;
import ru.ncedu.java.dmsi.robots.model.Direction;
import ru.ncedu.java.dmsi.robots.strategies.RobotStrategy;

public class StayShotStrategy implements RobotStrategy {
    private Direction direction;

    public StayShotStrategy( Direction dir ) {
        direction = dir;
    }
    @Override
    public Action getAction(ActionContext context) {
        return new MakeShotAction(direction);
    }
}
